package com.pz.chat.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pz.chat.entity.ChatMessageEntity;
import com.pz.chat.entity.resultmap.ChatMessageResultMap;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ChatMessageDao extends BaseMapper<ChatMessageEntity> {
    ChatMessageResultMap getAllMsgGroupByToId(@Param("userId") String userId);
}
